package com.sumainfor.wx.tenant.feign.Zfeign;

import com.sumainfor.common.util.JsonResult;

import com.sumainfor.wx.tenant.fallback.ZfallBack.ZuulFeignFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.Map;

/**
 * 调用网关服务
 *
 */
@FeignClient(name = "tANGNEST-ZUUl", fallback = ZuulFeignFallback.class)
public interface ZzuulFeign {
    /**
     * 根据公司编号查询所在市编号
     */
    @GetMapping("/tenant/key/ZxZuul/getSysArea")
    JsonResult getSysArea(@RequestParam Map<String,Object> params);

    /**
     * 获取管家的姓名和联系方式
     */
    @PostMapping("/tenant/key/sysUserListEva/getSystemUser")
    JsonResult getSystemUser(@RequestBody Map<String,Object> params);

}
